/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package inet.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author ÂuNgọcThái
 */
public class Notes {
    private BigDecimal note_id;
    private BigDecimal emp_id;
    private String content;
    private String note_date;
    private Timestamp last_update;

    public BigDecimal getNote_id() {
        return note_id;
    }

    public void setNote_id(BigDecimal note_id) {
        this.note_id = note_id;
    }

    public BigDecimal getEmp_id() {
        return emp_id;
    }

    public void setEmp_id(BigDecimal emp_id) {
        this.emp_id = emp_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getNote_date() {
        return note_date;
    }

    public void setNote_date(String note_date) {
        this.note_date = note_date;
    }

    public String getLast_update() {
        DateFormat dateFormat = new SimpleDateFormat("HH:mm dd-MM-yyyy");     
        return dateFormat.format(last_update);
    }

    public void setLast_update(Timestamp last_update) {
        this.last_update = last_update;
    }
    
}
